package com.system.util;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.system.entity.OrganizeInfo;

public class OrganizeListData {
	@JSONField(name="code",ordinal = 1)
	private String code;
	@JSONField(name="getOrganizeInfoList",ordinal = 2)
	private List<OrganizeInfo> list = new ArrayList<OrganizeInfo>();
	
	public OrganizeListData() {
		super();
	}

	public OrganizeListData(String code) {
		super();
		this.code = code;
	}

	public OrganizeListData(String code, List<OrganizeInfo> list) {
		super();
		this.code = code;
		this.list = list;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public List<OrganizeInfo> getList() {
		return list;
	}

	public void setList(List<OrganizeInfo> list) {
		this.list = list;
	}

	@Override
	public String toString() {
		return "OrganizeListData [code=" + code + ", list=" + list + "]";
	}
	
}
